package com.koo.modules.stock.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.koo.common.base.entity.CommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 装斗清斗子表
 *
 * @author charlin
 * @email 136137465@qq.com
 * @date 2023-04-03 10:59:55
 */
@Data
@ApiModel("装斗清斗子表")
@TableName("stock_bucket_clear_detail")
public class StockBucketClearDetailEntity extends CommonEntity {
    private static final long serialVersionUID = 1L;


    @ExcelIgnore
    @TableId
    private Long detailId;

    @ColumnWidth(11)
    @ExcelProperty("主单ID")
    @ApiModelProperty(value = "主单ID")
    private Long clearId;

    @ColumnWidth(11)
    @ExcelProperty("主单单号")
    @ApiModelProperty(value = "主单单号")
    private String clearNo;

    @ColumnWidth(11)
    @ExcelProperty("入库明细ID")
    @ApiModelProperty(value = "入库明细ID")
    private Long inboundDetailId;

    @ColumnWidth(11)
    @ExcelProperty("产品id")
    @ApiModelProperty(value = "产品id")
    private Long productId;

    @ColumnWidth(11)
    @ExcelProperty("货号")
    @ApiModelProperty(value = "货号")
    private String productCode;

    @ColumnWidth(11)
    @ExcelProperty("商品名")
    @ApiModelProperty(value = "商品名")
    private String productName;

    @ColumnWidth(11)
    @ExcelProperty("条形码")
    @ApiModelProperty(value = "条形码")
    private String barCode;

    @ColumnWidth(11)
    @ExcelProperty("通用名")
    @ApiModelProperty(value = "通用名")
    private String genericName;

    @ColumnWidth(11)
    @ExcelProperty("规格")
    @ApiModelProperty(value = "规格")
    private String standard;

    @ColumnWidth(11)
    @ExcelProperty("单位")
    @ApiModelProperty(value = "单位")
    private String unit;

    @ColumnWidth(11)
    @ExcelProperty("产地")
    @ApiModelProperty(value = "产地")
    private String producingArea;

    @ColumnWidth(11)
    @ExcelProperty("生产单位")
    @ApiModelProperty(value = "生产单位")
    private String produceFactory;

    @ColumnWidth(11)
    @ExcelProperty("批准文号")
    @ApiModelProperty(value = "批准文号")
    private String approvalNo;

    @ColumnWidth(11)
    @ExcelProperty("剂型")
    @ApiModelProperty(value = "剂型")
    private String dosageForm;

    @ColumnWidth(11)
    @ExcelProperty("生产日期")
    @ApiModelProperty(value = "生产日期")
    private String produceDate;

    @ColumnWidth(11)
    @ExcelProperty("有效期至")
    @ApiModelProperty(value = "有效期至")
    private String expiryDate;

    @ColumnWidth(11)
    @ExcelProperty("清斗时间")
    @ApiModelProperty(value = "清斗时间")
    private String clearDate;

    @ColumnWidth(11)
    @ExcelProperty("清斗前剩余数量")
    @ApiModelProperty(value = "清斗前剩余数量")
    private Integer beforeClearNum;

    @ColumnWidth(11)
    @ExcelProperty("清斗数量")
    @ApiModelProperty(value = "清斗数量")
    private Integer clearNum;

    @ColumnWidth(11)
    @ExcelProperty("装斗时间")
    @ApiModelProperty(value = "装斗时间")
    private String putDate;

    @ColumnWidth(11)
    @ExcelProperty("装斗数量")
    @ApiModelProperty(value = "装斗数量")
    private Integer putNum;

    @ColumnWidth(11)
    @ExcelProperty("批号")
    @ApiModelProperty(value = "批号")
    private String batchNo;

    @ColumnWidth(11)
    @ExcelProperty("质量状况")
    @ApiModelProperty(value = "质量状况")
    private String qualityInfo;

    @ColumnWidth(11)
    @ExcelProperty("清斗批号")
    @ApiModelProperty(value = "清斗批号")
    private String clearBatchNo;

    @ColumnWidth(11)
    @ExcelProperty("装斗人")
    @ApiModelProperty(value = "装斗人")
    private String bucketUser;

    @ColumnWidth(11)
    @ExcelProperty("清斗人")
    @ApiModelProperty(value = "清斗人")
    private String clearUser;



}
